	<!-- 选课 -->
	<div class="select_courses">
		<p class="can_selecte_courses_show">您可选修的课程如下</p>
		<?php 
			$studentController = new StudentController();
			$canSelectCoursesInfo = $studentController->canSelectCourses($_SESSION['studentInfo']['studentId']);
			?>
		<div class="table_show">
			<table class="can_select_courses_show_table">
				<tr>
					<th>课程编号</th><th>课程名</th><th>任课教师</th><th>当前人数</th><th>最大总人数</th><th>相关操作</th>
				</tr>
				<?php if(!empty($canSelectCoursesInfo)){
						foreach ($canSelectCoursesInfo as $row){
					?>
				<tr>
					<td><?php echo $row['course_id']?></td>
					<td><?php echo $row['course_name']?></td>
					<td><?php echo $row['course_teacher_name']?></td>
					<td><?php echo $row['course_student_count_current']?>
					<td><?php echo $row['course_student_count_max']?></td>
					<!-- 提交选课编号以及学生学号(学生想要选修该课程) -->
					<?php $path = "<a href="."../../controller/StudentController.class.php?courseId=".$row['course_id']."&studentId=".$_SESSION['studentInfo']['studentId']."&select=true".">参加选修</a>"?>
					<td><?php echo $path?></td>
				</tr>
				<?php 
						}
					}else {
					?>
				<tr><td class="table_empty_show" colspan="6">暂无可选课程信息!</td></tr>
				<?php }?>
			</table>
		</div>
	</div>